package com.dykj.fireFighting.server.monitoringCenter.mapper;

import com.dykj.fireFighting.api.monitoringCenter.entity.PgRegionRecordScore;
import com.dykj.fireFighting.api.monitoringCenter.vo.PgRegionRecordScoreVo;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description
 * @Author JacksonTu
 * @Date 2022-02-21 14:49:22
 */
public interface PgRegionRecordScoreMapper extends SuperMapper<PgRegionRecordScore> {


    int batchAdd(List<PgRegionRecordScore> list);

    List<PgRegionRecordScore> selectList(Map<String,Object> map);

    /**
     * @param regionId
     * @return
     */
    List<PgRegionRecordScoreVo> getPgRegionRecordScoreList(@Param("regionId") String regionId);

    /**
     * @param regionId
     * @return
     */
    List<PgRegionRecordScoreVo> getpgRegionRecordScoreVoNumList(@Param("regionId") String regionId);
}
